//
//  Ugc_ReleaseFailure_VC.m
//  ZITHER
//
//  Created by weixin on 2018/9/29.
//  Copyright © 2018年 weixn. All rights reserved.
//

#import "Ugc_ReleaseFailure_VC.h"

@interface Ugc_ReleaseFailure_VC ()


@end

@implementation Ugc_ReleaseFailure_VC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setNav];
    [self setUI];
}

-(void)setUI{
    [self.view addSubview:self.tbv];
    [self.tbv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(NaviHeight);
        make.left.equalTo(self.view).offset(0);
        make.right.equalTo(self.view).offset(0);
        make.bottom.mas_equalTo(0);
    }];
}

-(void)setNav{
    [self.baseNavigationView NavigationBarStyle:1];
    self.baseNavigationView.navViewStyle.title.text = @"发布失败的作品";
    self.baseNavigationView.leftButton1.hidden = YES;
    [self.baseNavigationView setHiddenNav:NO VC:self];

}

-(Ugc_ReleaseFailure_TBV_WX *)tbv{
    if (!_tbv) {
        _tbv = [[Ugc_ReleaseFailure_TBV_WX alloc]initWithFrame:CGRectMake(0, 0, 1, 1)];
    }
    return _tbv;
}
-(void)viewWillAppear:(BOOL)animated{
    
    self.tabBarController.tabBar.hidden = YES;
    
}
@end
